package com.yuqing.sentimentapp.workspace;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.yuqing.sentimentapp.R;
import com.yuqing.sentimentapp.base.BaseActivity;
import com.yuqing.sentimentapp.workspace.action.ActionReportActivity;
import com.yuqing.sentimentapp.workspace.duty.DutyReportActivity;
import com.yuqing.sentimentapp.workspace.epidemic.action.EpidemicActionReportActivity;
import com.yuqing.sentimentapp.workspace.epidemic.material.EpidemicMaterialReportActivity;
import com.yuqing.sentimentapp.workspace.epidemic.personal.EpidemicPersonalReportActivity;
import com.yuqing.sentimentapp.workspace.festival.action.FestivalActionReportActivity;
import com.yuqing.sentimentapp.workspace.festival.activity.FestivalActivityReportActivity;
import com.yuqing.sentimentapp.workspace.heavyrainfallflood.HeavyRainfallFloodReportActivity;
import com.yuqing.sentimentapp.workspace.springfire.SpringFireReportActivity;
import com.yuqing.sentimentapp.workspace.statistics.StatisticsReportActivity;
import com.yuqing.sentimentapp.workspace.todayreport.TodayReportReportActivity;
import com.yuqing.sentimentapp.workspace.typhoon.TyphoonReportActivity;
import com.yuqing.sentimentapp.workspace.week.WeekPlanReportActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class MessageReportActivity extends BaseActivity {

    @BindView(R.id.iv_back)
    ImageView mIvBack;
    @BindView(R.id.ll_duty_report)
    LinearLayout mLlDutyReport;
    @BindView(R.id.ll_action)
    LinearLayout mLlAction;
    @BindView(R.id.ll_festival_action)
    LinearLayout mLlFestivalAction;
    @BindView(R.id.ll_festival_activity)
    LinearLayout mLlFestivalActivity;
    @BindView(R.id.ll_heavy_rainfall_floods)
    LinearLayout mLlHeavyRainfallFloods;
    @BindView(R.id.ll_typhoon_rescue)
    LinearLayout mLlTyphoonRescue;
    @BindView(R.id.ll_epidemic_personal)
    LinearLayout mLlEpidemicPersonal;
    @BindView(R.id.ll_epidemic_action)
    LinearLayout mLlEpidemicAction;
    @BindView(R.id.ll_epidemic_material)
    LinearLayout mLlEpidemicMaterial;
    @BindView(R.id.ll_daily_fire_information)
    LinearLayout mLlDailyFireInformation;
    @BindView(R.id.ll_work_week)
    LinearLayout mLlWorkWeek;
    @BindView(R.id.ll_spring_fire)
    LinearLayout mLlSpringFire;
    @BindView(R.id.ll_statistics)
    LinearLayout mLlStatistics;

    public static void goActivity(Context context) {
        Intent intent = new Intent(context, MessageReportActivity.class);
        context.startActivity(intent);
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_message_report;
    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void initView() {

    }

    @OnClick({R.id.iv_back, R.id.ll_duty_report, R.id.ll_action, R.id.ll_festival_action,
            R.id.ll_festival_activity, R.id.ll_heavy_rainfall_floods, R.id.ll_typhoon_rescue,
            R.id.ll_epidemic_personal, R.id.ll_epidemic_action, R.id.ll_epidemic_material,
            R.id.ll_daily_fire_information, R.id.ll_work_week, R.id.ll_spring_fire,
            R.id.ll_statistics})
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.iv_back:
                finish();
                break;
            case R.id.ll_duty_report:
                DutyReportActivity.goActivity(this);
                break;
            case R.id.ll_action:
                ActionReportActivity.goActivity(this);
                break;
            case R.id.ll_festival_action:
                FestivalActionReportActivity.goActivity(this);
                break;
            case R.id.ll_festival_activity:
                FestivalActivityReportActivity.goActivity(this);
                break;
            case R.id.ll_heavy_rainfall_floods:
                HeavyRainfallFloodReportActivity.goActivity(this);
                break;
            case R.id.ll_typhoon_rescue:
                TyphoonReportActivity.goActivity(this);
                break;
            case R.id.ll_epidemic_personal:
                EpidemicPersonalReportActivity.goActivity(this);
                break;
            case R.id.ll_epidemic_action:
                EpidemicActionReportActivity.goActivity(this);
                break;
            case R.id.ll_epidemic_material:
                EpidemicMaterialReportActivity.goActivity(this);
                break;
            case R.id.ll_daily_fire_information:
                TodayReportReportActivity.goActivity(this);
                break;
            case R.id.ll_work_week:
                WeekPlanReportActivity.goActivity(this);
                break;
            case R.id.ll_spring_fire:
                SpringFireReportActivity.goActivity(this);
                break;
            case R.id.ll_statistics:
                StatisticsReportActivity.goActivity(this);
                break;
        }
    }
}
